package com.pig4cloud.pig.module.service.base.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.pig4cloud.pig.module.api.entity.wx.WxPayTransaction;
import com.pig4cloud.pig.module.mapper.wx.WxPayTransactionMapper;
import com.pig4cloud.pig.module.service.wx.IWxPayTransactionService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.Map;

/**
 * 微信支付的动账流水记录Service业务层处理
 *
 * @author ruoyi
 * @date 2022-07-18
 */
@Service
public class WxPayTransactionServiceImpl extends ServiceImpl<WxPayTransactionMapper, WxPayTransaction> implements IWxPayTransactionService {

    @Resource
    private WxPayTransactionMapper transactionMapper;

    @Override
    public Double selectInOrOutMoney(Map<String, Object> map) {
        return transactionMapper.selectInOrOutMoney(map);
    }
}
